#include "begin.h"
#include "ui_begin.h"

begin::begin(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::begin)
{
    ui->setupUi(this);
}

begin::~begin()
{
    delete ui;
}

void begin::on_pushButton_clicked()
{
    Widget *father = new Widget;
    this->close();
    father->show();
}
